#pragma once

#include <QWidget>
#include "ui_JsWidget.h"
#include "InteractObject.h"

class JsWidget : public QWidget
{
	Q_OBJECT

public:
	JsWidget(QWidget *parent = Q_NULLPTR);
	~JsWidget();

private:
	Ui::JsWidget ui;

public:
	void appendContent( QString text);
	QString getHtmlMsg(QString, QString, QString);

private slots:
	void onSendSlot();
	void slot_ScroolWidget(int);

private:
	InteractObject *_interactObj;
};
